package com.usian.skill.service;

import com.usian.skill.pojo.OrderInfo;
import com.usian.skill.vo.GoodsVo;

import java.awt.image.BufferedImage;

public interface SkillService {

    public OrderInfo skill(String userId, GoodsVo goodsVo);

    Long getSkillResult(String user, Long goodsId);

    public String createMiaoshaPath(String user,Long goodsId);

    public boolean checkPath(String user,Long goodsId,String path);

    public BufferedImage createVerifyCode(String user, long goodsId);

    public boolean checkVerifyCode(String user, long goodsId, int verifyCode);
}
